package com.niknik.woody.rest.schema;

/**
 * User: yoda
 * Date: 01.12.11
 * Time: 8:34
 */
public enum RespMsg {
  SUCCESS(0, ""),
  BAD_REQUEST(1, "Неверный URL."),
  INTERNAL_ERR(2, ""),
  ROOM_NOT_REACHABLE(3, "");

  private int code;

  RespMsg(int code, String msg) {
    this.code = code;
  }

  public int getCode() {
    return code;
  }
}
